package com.link_with_health.mapper;

import com.link_with_health.model.AdminDivisionEntity;
import org.apache.ibatis.annotations.Mapper;
import java.util.List;

@Mapper
public interface AdminDivisionMapper {
    AdminDivisionEntity queryAdminDivisionById(Integer id);
    List<AdminDivisionEntity> queryAdminDivisionByProvince(Integer province);
    List<AdminDivisionEntity> queryAdminDivisionByCity(Integer city);
    List<AdminDivisionEntity> queryAllProvince();
    List<AdminDivisionEntity> queryAllAdminDivision();
    int updateAdminDivision(AdminDivisionEntity adminDivision);
    int insertAdminDivision(AdminDivisionEntity adminDivision);
    int deleteAdminDivisionById(Integer id);
    String getDivisionName(Integer id);

}
